import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_all_cycle_change_entity.g.dart';


@JsonSerializable()
class GetAllCycleChangeEntity {
	GetAllCycleChangeEntity();

	factory GetAllCycleChangeEntity.fromJson(Map<String, dynamic> json) => $GetAllCycleChangeEntityFromJson(json);
  String hintTextContext1 = '请输入';
  String hintTextContext2 = '请输入';

	String? id;
  ///详情来的id 赋值于这
	String? idX;
	String? attribute;
	String? startTime;
	String? endTime;
	String? type;
	String? createBy;
	String? createDate;
	String? updateBy;
	String? updateDate;

	String? checkCycle='';
	///巡检周期单位（如 ”1小时“ 的小时）(数据字典id)
	String? checkCycleUnitName='';
	String? checkCycleUnit='';
	///是否显示输入的巡检周期 &工作时段
	bool isShowInputAnd=false;
	///是否显示不输入的巡检周期
	// bool? isShowNoInput=true;
	/// 用于判断 工作时段 工作日类型 自有在未 小时的时候才显示 其余不显示不设置数据
	bool isShowTime=false;
	/// 季节性排查 和 重点时段及节假日前排查 需要展示隐藏UI 多余的UI也要隐藏
	bool isShowSeason=false;

	String? workStartTime='';
	String? workEndTime='';

	bool checkboxSelected = false;
	///工作日类型(数据字典id)
	String? workDayType;
	String? workDayTypeName='';

	Map<String, dynamic> toJson() => $GetAllCycleChangeEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
